Skip to main content

desiredHeight

Type

property

Summary

The optimal height for the widget

Syntax

get the desiredHeight of <widget>

Description

Note: This feature is currently experimental and may change or be removed in future versions.

Returns the preferred height for widget, calculated from its current state.

Examples

create widget as "com.livecode.widget.navbar"
set the height of it to the desiredHeight of it